import Router from 'koa-router'

const router = new Router({
  prefix: '/order'
})

// 创建订单
router.post('/createOrder', require('./myOrder/createOrder'))

// 获取所有订单信息
router.get('/getOrders', require('./myOrder/getOrders'))

export default router
